﻿@using ADShop.Models
@using ADShop.Repository

<div id="menu">
    <span>Menu</span>
    <ul>
        <li class="home"><a title="Home" href="~/Default"><span>Home</span></a></li>

        @foreach(Category items in Global.ListCategory())
        {

                    <li>
                        <a href="~/Category/Cat/@items.IDCategory">@items.NameCategory</a>
                                <div style="display: none;">
                                    <ul>
                                        <li><a href="~/Category/Cat/@items.IDCategory">@items.NameCategory</a></li>
                                    </ul>
                                </div>
                    </li>

        }
    </ul>
</div>